// ==UserScript==
// @name           phpBB Highlight Forum Links
// @namespace      http://glenncarr.com/greasemonkey/phpbb
// @include        *search.php*
// $LastChangedRevision: 135 $
// $LastChangedDate: 2007-06-20 16:51:55 +0000 (Wed, 20 Jun 2007) $
// ==/UserScript==

(function() {

var forumLinks = document.evaluate("//a[contains(@href, 'viewforum.php')]", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
if ( forumLinks.snapshotLength == 0 )
    return;

GM_addStyle('\
a.gncForumLink { color: #b22222 }\
');

for ( var i = 0; i < forumLinks.snapshotLength; i++ )
    forumLinks.snapshotItem( i ).setAttribute( "class", "gncForumLink" );

})();